<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <title>主页面</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <link href="mstatic/css/bootstrap.min.css" type="text/css" rel="stylesheet">
    <link href="mstatic/css/index.css" type="text/css" rel="stylesheet">
</head>
<body class="bg_color">
<!--头部-->
<nav class="navbar navbar-default navbar-fixed-top  top" role="navigation">
    <div class="container-fluid">
        <div class="navbar-header" style=" width:100%;">
            <div class="navbar-brand hover" style=" width:100%;  padding-right:0px;"> <a  href="javascript:history.go(-1);"><span class="glyphicon glyphicon-arrow-left white"></span> <span class="white" style="margin-left:10%">{%$system_ini.baseset_name%}数字化校园管理平台</span> </a> <a href="#" class="collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"> <span class="glyphicon glyphicon-user white" style="float:right; "></span> </a> </div>
        </div>
        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
            <ul class="nav navbar-nav">
                <li class="white"><a href="index.php?a=user.info">个人信息</a></li>
                <li class="white"><a href="index.php?a=user.logout">退出登录</a></li>
            </ul>
        </div>
    </div>
    <!-- /.container-fluid -->
</nav>
<!--头部 end-->

<!--圆圈-->

<div class="container main_box">
    <div class="row">
        <div class="col-xs-3  mainpage_distanse_1"> <a href="index.php?a=main.applyadd"> <img src="mstatic/images/baoxiu.png" class="img-responsive" alt="Responsive image">
                <p class="text-center">报修</p>
            </a> </div>
        <!--mainpage_distanse_1  end-->
        <div class="col-xs-3  mainpage_distanse_1"> <a href="index.php?a=syllabus.staffinfo"> <img src="mstatic/images/kechengb.png" class="img-responsive" alt="Responsive image">
                <p class="text-center">课程表</p>
            </a> </div>
        <div class="col-xs-3  mainpage_distanse_1"> <a href="index.php?a=event.list"> <img src="mstatic/images/baiwanglu.png" class="img-responsive" alt="Responsive image">
                <p class="text-center">备忘录</p>
            </a> </div>
        <!--mainpage_distanse_1  end-->
        <!--mainpage_distanse_1  end-->
        <div class="col-xs-3  mainpage_distanse_1"> <a href="index.php?a=adjust.add"> <img src="mstatic/images/tiaoke.png" class="img-responsive" alt="Responsive image">
                <p class="text-center">调课情况</p>
            </a> </div>
        <!--mainpage_distanse_1  end-->

    </div>
    <!--row  mainpage_distanse  end-->
    <div class="row ">
        <div class="col-xs-3  mainpage_distanse_1"> <a href="index.php?a=duty.info"> <img src="mstatic/images/zhiri.png" class="img-responsive" alt="Responsive image">
                <p class="text-center">值日表</p>
            </a> </div>
        <!--mainpage_distanse_1  end-->
        <div class="col-xs-3  mainpage_distanse_1"> <a href="index.php?a=score.gradelist"> <img src="mstatic/images/chengji.png" class="img-responsive" alt="Responsive image">
                <p class="text-center">成绩管理</p>
            </a> </div>
        <!--mainpage_distanse_1  end-->
        <div class="col-xs-3  mainpage_distanse_1"> <a href="index.php?a=disease.add"> <img src="mstatic/images/queke.png" class="img-responsive" alt="Responsive image">
                <p class="text-center">缺课登记</p>
            </a> </div>
        <!--mainpage_distanse_1  end-->
        <div class="col-xs-3  mainpage_distanse_1"> <a href="index.php?a=award.awardstudentlist"> <img src="mstatic/images/xingwei.png" class="img-responsive" alt="Responsive image">
                <p class="text-center">行为录入</p>
            </a> </div>
        <!--mainpage_distanse_1  end-->

    </div>
    <!--row  mainpage_distanse  end-->

</div>
<!--container main_box 圆圈 -->
<!--通知-->
<div class="container">
    <div class="row notice">

        <!-- Nav tabs -->
        <ul class="nav nav-tabs" role="tablist">
            <li role="presentation"><span class="glyphicon glyphicon-volume-up tongzhi"></span></li>
            <li role="presentation" class="active"> 
				<a href="#home" role="tab" data-toggle="tab">通知 
					<span class="label label-success">{%$inform_content_one.count%}</span> 
				</a> 
			</li>
            <li role="presentation">
				<a href="#profile" role="tab" data-toggle="tab">公告 
					<span class="label label-primary">{%$inform_content_two.count%}</span>
				</a>
			</li>
            <li role="presentation">
				<a href="#messages" role="tab" data-toggle="tab">审核 
					<span class="label label-info">{%$inform_content_three.count%}</span>
				</a>
			</li>
        </ul>

        <!-- Tab panes -->
        <div class="tab-content">
            <div role="tabpanel" class="tab-pane active" id="home">
                <table class="table">
                    <!--上级通知-->

                    {%foreach from=$inform_lists_one key=key item=value%}
                        <tr>
                          <td><a href="index.php?a=notice.presidentdetails&notice_id={%$value.notice_id%}" class="light" {%if $value.is_read ==0%}style="font-weight:bold"{%/if%}>{%$value.notice_title%}</a></td>
                          <td width="100">{%$value.department_name%}</td>
                          <td width="100">{%$value.create_time%}</td>
                        </tr>
					{%/foreach%}

                </table>
                <p class="text-right"><a href="index.php?a=notice.commonlist">更多>></a></p>
            </div>
            <div role="tabpanel" class="tab-pane" id="profile">
                <table class="table">
					<!--公告-->
                    {%foreach from=$inform_lists_two key=key item=value%}
                        <tr>
                            <td><a href="index.php?a=notice.presidentdetails&notice_id={%$value.notice_id%}" class="light" {%if $value.is_read ==0%}style="font-weight:bold"{%/if%}>{%$value.notice_title%}</a></td>
                            <td width="100">{%$value.department_name%}</td>
                            <td width="100">{%$value.create_time%}</td>
                        </tr>
                    {%/foreach%}

                </table>
                <p class="text-right"><a href="index.php?a=notice.publicitylist">更多>></a></p>
            </div>
            <div role="tabpanel" class="tab-pane" id="messages">
                <table class="table">
				<!--审核-->
                    {%foreach from=$inform_lists_three key=key item=value%}
						<tr>
							<td><a href="index.php?a=notice.commondetails&notice_id={%$value.notice_id%}" class="light" {%if $value.is_read ==0%}style="font-weight:bold"{%/if%}>{%$value.notice_title%}</a></td>
							<td width="100">{%$value.department_name%}</td>
							<td width="100">{%$value.create_time%}</td>
						</tr>
                    {%/foreach%}
                </table>
                <p class="text-right"><a href="index.php?a=notice.commonlist">更多>></a></p>
            </div>
        </div>
    </div>
    <!--row  end-->

</div>

<!--通知  end-->

<!--事务交代-->

<div class="container">
    <div class="row notice">

        <!-- Nav tabs -->
        <ul class="nav nav-tabs" role="tablist">
            <li role="presentation">
			<span class="glyphicon glyphicon-envelope tongzhi"></span>
			</li>
            <li role="presentation" class="active">
				<a href="#home2" role="tab" data-toggle="tab">事务交代 
					<span class="label label-success">{%$inform_content_four%}</span>
				</a>
			</li>
            <li role="presentation">
				<a href="#profile2" role="tab" data-toggle="tab">提醒 
					<span class="label label-primary">{%$inform_content%}</span>
				</a>
			</li>
            <li role="presentation">
				<a href="#messages2" role="tab" data-toggle="tab">邮件 
					<span class="label label-info">{%$mail_content.count%}</span>
				</a>
			</li>
        </ul>

        <!-- Tab panes -->
        <div class="tab-content">
            <div role="tabpanel" class="tab-pane active" id="home2">
                <table class="table">
                    {%foreach from=$inform_lists_four key=key item=value%}
                        <tr>
                            {%if $value.notice_id%}
                          <td><a href="index.php?a=notice.details&notice_id={%$value.notice_id%}" class="light" {%if $value.is_read ==0%}style="font-weight:bold"{%/if%}>{%$value.notice_title%}</a></td>
                          <td width="100">{%$value.department_name%}</td>
                          <td width="100">{%$value.create_time%}</td>
                            {%else%}
                            <td><a href="index.php?a=inform.dispensedetails&inform_id={%$value.inform_id%}" class="light" {%if $value.is_read ==0%}style="font-weight:bold"{%/if%}>{%$value.inform_title%}</a></td>
                            <td width="100">{%$value.department_name%}</td>
                            <td width="100">{%$value.create_time%}</td>
                            {%/if%}
                        </tr>
					{%/foreach%}          
                    </table>

                </table>
                <p class="text-right"><a href="index.php?a=notice.list">更多>></a></p>
            </div>
            <div role="tabpanel" class="tab-pane" id="profile2">
                <table class="table">
                    <!-- 提醒-->
					{%foreach from=$inform_lists key=key item=value%}
						{%if $value.notice_id%}
							<tr>
							  <th><a href="index.php?a=notice.list" class="light" {%if $value.is_show ==0%}style="font-weight:bold"{%/if%}>{%$value.notice_title%}</a></th>
							  <th width="100">{%$value.department_name%}</th>
							  <th width="100">{%$value.end_time%}</th>
							</tr>
						{%else%}
							<tr>
								<th><a href="index.php?a=inform.uplist&inform_type=1" class="light" {%if $value.is_show ==0%}style="font-weight:bold"{%/if%}>{%$value.inform_title%}</a></th>
								<th width="100">{%$value.department_name%}</th>
								<th width="100">{%$value.create_time%}</th>
							</tr>
						{%/if%}
				   {%/foreach%}   
                </table>
                <p class="text-right"><a href="index.php?a=notice.list">更多>></a></p>
            </div>
            <div role="tabpanel" class="tab-pane" id="messages2">
                <table class="table">
                    <!-- 内部邮件-->
					{%foreach from=$mail_lists key=key item=value%}
							<tr>
							  <th><a href="index.php?a=mail.info&mail_id={%$value.mail_id%}" class="light" {%if $value.is_read ==0%}style="font-weight:bold"{%/if%}>{%$value.mail_title%}</a></th>
							  <th width="100">{%$value.staff_name%}</th>
							  <th width="100">{%$value.create_time%}</th>
							</tr>
					{%/foreach%} 
                </table>
                <p class="text-right"><a href="index.php?a=mail.list">更多>></a></p>
            </div>
        </div>
    </div>
    <!--row  end-->

</div>

<!--事务交代end-->

<!--底部-->
{%include file="m.index.footer.tpl.php"%}
